package com.service.order.model;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "order")//同样能够@RefreshScope监听到配置中心的刷新
public class OrderProperties {

    private String expire;

    private String confirmTime;

}
